import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ZoneComputerListComponent } from './zone-computer-list/zone-computer-list.component';
import { ZonePersonnelListComponent } from './zone-personnel-list/zone-personnel-list.component';
import { ZoneSoftwareListComponent } from './zone-software-list/zone-software-list.component';
import { ShareModule } from '../share/share.module';
import { ZonePersonnelAddComponent } from './zone-personnel-add/zone-personnel-add.component';
import { ZoneComputerAddComponent } from './zone-computer-add/zone-computer-add.component';
import { ZoneSoftwareAddComponent } from './zone-software-add/zone-software-add.component';

const components = [ZoneComputerListComponent, ZonePersonnelListComponent, ZoneSoftwareListComponent];
const addComponents = [ZonePersonnelAddComponent, ZoneComputerAddComponent, ZoneSoftwareAddComponent];

@NgModule({
	imports: [CommonModule, ShareModule],
	declarations: [...components, ...addComponents],
	exports: [...components],
	entryComponents: [...addComponents],
})
export class ZoneResourcesModule {}
